package com.cjk.console.service;

import com.cjk.console.model.Callback;
import com.cjk.console.model.DeviceInfo;
import com.cjk.console.request.DeviceRequest;
import com.cjk.foundation.commons.response.PageResponse;
import com.cjk.foundation.commons.response.Response;

public interface DeviceService {

	public void addDevice(DeviceRequest request, Integer userId);

	public Response delDevice(DeviceRequest request, Integer userId);

	public PageResponse getDeviceList(DeviceRequest request, Integer userId);

	public Response getDevice(String sn, Integer userId);

	public void updateDeviceByInform(DeviceInfo deviceInfo);

	public void configTvCallBack(Callback callback);

	public PageResponse getMgt(DeviceRequest request);
	
	public Response updateAliasName(String sn, String aliasName);
	
}
